package com.example.yifei.ui.page.common

import androidx.annotation.StringRes
import com.example.yifei.R


/**
 * @Author: zhudaihao
 * @Date: 2022/5/6
 * @Describe: 底部导航文本和图标
 */
sealed class BottomNavRoute(
    var routeName: String,
    @StringRes var stringId: Int,
    var icon: Int,
    var iconNor: Int
) {
    object Home : BottomNavRoute(
        RouteName.HOME,
        R.string.home,
        R.mipmap.tab_icon_home_select,
        R.mipmap.tab_icon_home_nor
    )

    object ProductionDemand : BottomNavRoute(
        RouteName.PRODUCTION_DEMAND,
        R.string.productionDemand,
        R.mipmap.tab_icon_pr_select,
        R.mipmap.tab_icon_pr_nor
    )

    object Collection : BottomNavRoute(
        RouteName.PRODUCTION_WORK_ORDER,
        R.string.productionWorkOrder,
        R.mipmap.tab_icon_po_select,
        R.mipmap.tab_icon_po_nor
    )

    object PurchaseList : BottomNavRoute(
        RouteName.PURCHASE_LIST,
        R.string.purchaseList,
        R.mipmap.tab_icon_pl_select,
        R.mipmap.tab_icon_pl_nor
    )

    object Profile : BottomNavRoute(
        RouteName.PROFILE,
        R.string.profile,
        R.mipmap.tab_icon_me_select,
        R.mipmap.tab_icon_me_nor
    )
}